# TODO * string.srtip([str]) 去除两边的str, 不写str, 去除的就是空格
print('   hello   '.strip())  # hello
print('123hello123'.strip('123'))  # hello

# TODO * string.lsrtip([str]) 去除两边的str, 不写str, 去除左边空格
print('   hello   '.lstrip())  # (hello   )
print('123hello123'.lstrip('123'))  # hello123

# TODO * string.rsrtip([str]) 去除两边的str, 不写str, 去除右边空格
print('   hello   '.rstrip())  # (   hello)
print('123hello123'.rstrip('123'))  # 123hello
